/*
 * Copyright 2009 eBusinessInformation
 * 
 * Licensed under the Apache License, Version 2.0 (the "License"); you may not
 * use this file except in compliance with the License. You may obtain a copy of
 * the License at
 * 
 * http://www.apache.org/licenses/LICENSE-2.0
 * 
 * Unless required by applicable law or agreed to in writing, software
 * distributed under the License is distributed on an "AS IS" BASIS, WITHOUT
 * WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the
 * License for the specific language governing permissions and limitations under
 * the License.
 */
package com.excilys.ymca.service;

import java.util.List;

import com.excilys.ymca.model.Contact;
import com.excilys.ymca.service.exception.ServiceException;
import com.excilys.ymca.service.remotefile.ContactListServiceRemoteFileImpl;

/**
 * Interface définissant les services pour obtenir la liste des contacts
 * 
 * @see ContactListServiceRemoteFileImpl
 * 
 * @author Pierre-Yves Ricau ( py.ricau+ymca @ gmail.com )
 * 
 */
public interface IContactListService {

	/**
	 * Permet d'obtenir la liste des contacts du service d'annuaire.
	 * 
	 * L'exception et sa stacktrace doivent être loguée par les implémentations.
	 * 
	 * @return la liste de tous les contacts
	 */
	List<Contact> getContactList() throws ServiceException;

}
